namespace DownloadMailTask.POP3Client.Mime
{
    /// <summary>
    /// TNEFAttachment
    /// </summary>
    public class TNEFAttachment
    {

        #region Member Variables
        private string _fileName="";
        private long _fileLength=0;
        private string _subject="";
        private byte[] _fileContent=null;
        #endregion


        #region Properties
        /// <summary>
        /// attachment subject
        /// </summary>
        public string Subject
        {
            get{return _subject;}
            set{_subject=value;}
        }

        /// <summary>
        /// attachment file length
        /// </summary>
        public long FileLength
        {
            get{return _fileLength;}
            set{_fileLength=value;}
        }

        /// <summary>
        /// attachment file name
        /// </summary>
        public string FileName
        {
            get{return _fileName;}
            set{_fileName=value;}
        }

        /// <summary>
        /// attachment file content
        /// </summary>
        public byte[] FileContent
        {
            get{return _fileContent;}
            set{_fileContent=value;}
        }
        #endregion


        public TNEFAttachment()
        {
        }

        ~TNEFAttachment()
        {
            _fileContent=null;
        }
    }
}